<%-- 
    Document   : alta_carrera
    Created on : 12/11/2009, 03:49:12 PM
    Author     : Juan Garza
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="Model.JConexion"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Alta Carrera</title>
    </head>
    <body>
        <form action="<% out.println("http://" + request.getLocalName() + ":" + request.getLocalPort() + "/RoyalMowes/C_Carrera"); %>" method="post">
        <h1>Ingresa los datos solicitados</h1>
        <hr noshade size="2">
        <br>
        <br>
        <center>
        <table><tr> 
                <th align="left">Descripcion: </th><td><input type="text" name="descripcion"></td>
                </tr><tr>
                    <th align="left">Peso Minimo: </th>
                    <td><select name="lim_inf">
                            <% for(int i=50; i<=190; i++){ %>
                            <option value="<%=i%>"><%=i%></option>
                            <% } %>
                        </select>
                    </td>
                </tr><tr>
                    <th align="left">Peso Maximo: </th>
                    <td><select name="lim_sup">
                            <% for(int i=50; i<=190; i++){ %>
                            <option value="<%=i%>"><%=i%></option>
                            <% } %>
                        </select>
                    </td>
                </tr><tr>
                    <td colspan="2"><input type="submit" name="registrar" value="Registrar" title="Registra los datos ingresados"></td>
                </tr>
        </table>
        </center>
        </form>
    </body>
</html>
